import Vue from 'vue'
import Vuex from 'vuex'
import login from './module/login'
import rechargeRecord from './module/rechargeRecord'
import orderManage from './module/orderManage'
import agencyManage from './module/agencyManage'
import resManage from './module/resManage'
import reportManage from './module/reportManage'
import memberManage from './module/memberManage'
import drawManage from './module/drawManage'
import depositManage from './module/depositManage'
import noticeManage from './module/noticeManage'
import activityCenter from './module/activityCenter'
import versionManage from './module/versionManage'

Vue.use(Vuex)

export default new Vuex.Store({
  modules: {
    login,
    rechargeRecord,
    orderManage,
    agencyManage,
    resManage,
    reportManage,
    memberManage,
    drawManage,
    depositManage,
    noticeManage,
    activityCenter,
    versionManage
  }
})
